package cn.bjxy.shishaolong.system.user.controller;


import cn.bjxy.shishaolong.system.entity.UserThirdAuthen;
import cn.bjxy.shishaolong.system.service.IUserThirdAuthenService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 用户本地认证 前端控制器
 * </p>
 *
 * @author 时少龙
 * @since 2020-07-08
 */
@RestController
@RequestMapping("/api/system/user-third-authen")
public class UserThirdAuthenController {

    @Autowired
    private IUserThirdAuthenService userThirdAuthenService;

    @GetMapping
    public List<UserThirdAuthen> list(){
        return userThirdAuthenService.list();
    }
}
